document.write('new a model')
$.get('js/test_data.json',function(data){
    console.log(data);
    //画图
    var myChart = echarts.init(document.getElementById("main"));
    console.log(myChart);
    var option = {
        title: {
            text: "吴凯强",
            left: "center",
          },
        series: [
            {
                type: "pie",
                data:data.data_pie,
            },
            ],
            
    }
    myChart.setOption(option);
});

